<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="/demo_add">新增</a>

<h1>图书</h1>
<ul>
    {% for info in book_list %}
        <li>{{ info }}-<a href="/demo_delete?{{ info.id }}">删除</a></li>
    {% endfor %}
</ul>
<h1>作者</h1>
<ul>
    {% for info in author_list %}
        <li>{{ info.name }}</li>
    {% endfor %}
</ul>
</body>
</html>